package com.ds.lens.data.vo.in.v2.user;

import lombok.Data;

import javax.validation.constraints.Email;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * Description:
 *
 * @author WeiShaoying
 * @date 2020-02-13
 */
@Data
public class LensUserInVO implements Serializable {
    private static final long serialVersionUID = 6886064504286705345L;

    @Size(max = 64, message = "userName can not be more than 64 characters")
    private String userName;
    @Size(max = 64, message = "password can not be more than 64 characters")
    private String password;
    @Size(max = 64, message = "newPassword can not be more than 64 characters")
    private String newPassword;
    @Email(message = "Incorrect email format")
    private String email;
    private String token;
    private String param;
}
